
[wm/global]
include-file = ~/.config/i3/polybar/module.ini
include-file = ~/.config/i3/polybar/colors.ini





[bar/main]
width = 80%
height = 27
radius = 2

fixed-center = false
override-redirect = true
wm-restack = i3

offset-x = 10%
offset-y = 8

background = ${colors.background}
foreground = ${colors.foreground}

border-size = 4
border-color = ${colors.secondary}

padding-left = 2
padding-right = 2

module-margin = 0
module-margin-left = 1
module-margin-right = 1

font-0 = JetBrainsMono-Bold Font:pixelsize=10;3
font-1 = Font Awesome 6 Free:pixelsize=12;3
font-2 = Symbols Nerd Font:style=Regular:pixelsize=12;2

modules-left = menu sep_bar xworkspaces
modules-center = date
modules-right = tray-polybar sep_bar xkeyboard pulseaudio battery sep_bar powermenu


cursor-click = pointer
cursor-scroll = ns-resize

tray-position = none
tray-detached = true
tray-background = ${colors.tray}
tray-border-size = 4
tray-border-color = ${colors.secondary}
tray-padding = 0
tray-offset-x = 300pt
tray-maxsize = 19
tray-scale = 0.97
